package com.qiqichangting.changting.service.Impl;

import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

@Async
@Service
public class DateTestService {


   //@Scheduled(cron = "0/5 * * * * *")
    public void hello(){

        System.out.println("定时器起效果了");
    }
}
